/**
Company: Sarkar software technologys
WebSite: http://www.sarkar.cn
Author: yeganaaa
Date : 5/19/18
Time: 1:59 AM
 */

package Cn.Sarkar.IMS

import Cn.Sarkar.EntityDream.CoreEngine.RDBMS.Core.Extensions.createNewTables
import Cn.Sarkar.IMS.Entities.DataSources.MySqlDataSource
import Cn.Sarkar.IMS.WebApi.useAppLocalizationController
import io.ktor.locations.Location
import io.ktor.locations.location
import io.ktor.routing.Routing

class IMSLocations {

    @Location("/IMS/Api")
    class IMSApi
}

fun Routing.useIMSModule() {
    location<IMSLocations.IMSApi> {
        useAppLocalizationController()
    }

}